package main.java.com.example.test.Mapper;

import com.example.test.pojo.ticket;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ticketMapper {

    List<ticket> allTickets();

    List<ticket> searchTickets(String start, String end, String date);

    List<ticket> searchTicketsPage(String start, String end, String date, String page);

}
